# Contributor: rubicon <rubicon@mailo.com>
# Maintainer:
pkgname=ocaml-omake
_pkgname=omake
pkgver=0.10.3
pkgrel=1
pkgdesc="Build system designed for scalability and portability"
url="http://projects.camlcity.org/projects/omake.html"
arch="all !riscv64"  # limited by ocaml aport
license="GPL-2.0-only"
depends="ocaml-runtime"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="ocaml ocaml-findlib"
options="!check"
source="$pkgname-$pkgver.tar.gz::http://download.camlcity.org/download/omake-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
_ocamldir=usr/lib/ocaml

build() {
	./configure -prefix /usr
	make
}

package() {
	make INSTALL_ROOT="$pkgdir" install
}

sha512sums="
77eb87b819048d7d9cb9b89a73c5f922ba3adc93f0d58536b3cfa20abdbf1d2a4c576b77921c52e8ea5f80171e8a503b573bf2a92b65fa0579f6492574079733  ocaml-omake-0.10.3.tar.gz
"
